#include "RequestClockMessage.h"
#include "SendClockMessage.h"

RequestClockMessage::RequestClockMessage(int source, int destination):Message(source, destination)
{
}

RequestClockMessage::~RequestClockMessage(void)
{
}

void RequestClockMessage::run(Node* n)
{
	n->sendClock(m_source);
}

void RequestClockMessage::print()
{
	printf("%d requested %d's clock\n", m_source, m_destination);
}

